package gamebackend;

public class FlierWrapper implements Flier {

	private Flier my_flier;
	public void setFlier(final Flier the_wrapped) {
		my_flier = the_wrapped;
	}
	@Override
	public void setTarget(final double the_target) {
		my_flier.setTarget(the_target);
	}
	@Override
	public void step(double the_yChange) {
		my_flier.step(the_yChange);
	}
	@Override
	public double getTarget() {
		return my_flier.getTarget();
	}
	@Override
	public boolean isAtTarget() {
		return my_flier.isAtTarget();
	}
	@Override
	public Flier getChild() {
		return my_flier.getChild();
	}
	@Override
	public double getPosition() {
		return my_flier.getPosition();
	}
}
